home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / misc_lib / makefile.tc < prev    next >
Encoding:
Makefile  |  1993-12-30  |  1.3 KB  |  47 lines

  1.  
  2. #
  3. # This is the make file for the misc. lib subdirectory.
  4. # In order to run it tcc is assumed to be available, in addition to
  5. # tlib and obviously borland make.
  6. #
  7. # Usage: "make [-DMDL=model]" where model can be l (large) or c (compact) etc.
  8. # Note the MDL is optional with large model as default.
  9. #
  10. #                Gershon Elber, Aug 1991
  11. #
  12.  
  13. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  14. # .SWAP
  15.  
  16. # Get the destination directories:
  17. !include "..\makeflag.tc"
  18.  
  19. OBJS =  config.obj genmat.obj getarg.obj imalloc.obj irit_ftl.obj \
  20.     ln_sweep.obj miscattr.obj miscatt2.obj priorque.obj xgeneral.obj
  21.  
  22. # Show me better way if you know one to prepare this line for TLIB:
  23. POBJS =  +config.obj +genmat.obj +getarg.obj +imalloc.obj +irit_ftl.obj \
  24.     +ln_sweep.obj +miscattr.obj +miscatt2.obj +priorque.obj \
  25.     +xgeneral.obj
  26.  
  27. misc_lib.lib: $(OBJS)
  28.     del misc_lib.lib
  29.     tlib /c misc_lib.lib @&&!
  30. $(POBJS), misc_lib.lst
  31. !
  32.  
  33. install: misc_lib.lib
  34.     copy misc_lib.lib $(LIB_DIR)
  35.     copy *.h $(INC_DIR)
  36.  
  37. # Dependencies starts here - do not touch, generated automatically.
  38. config.obj:    config.h imalloc.h
  39. genmat.obj:    genmat.h
  40. getarg.obj:    getarg.h imalloc.h
  41. imalloc.obj:    imalloc.h
  42. ln_sweep.obj:    imalloc.h ln_sweep.h
  43. miscatt2.obj:    imalloc.h miscattr.h
  44. miscattr.obj:    imalloc.h miscattr.h
  45. priorque.obj:    priorque.h imalloc.h
  46. xgeneral.obj:    imalloc.h
  47.